﻿using System.Collections.Generic;
using BSDS.Commands.Commands;

namespace BSDS.Commands.Configuration
{
    public class MailingConfiguration
    {
        public bool NotificationsEnabled { get; set; }

        public List<string> Recipients { get; private set; }
        public Dictionary<CommandExitStatus, string> MailSubjectTemplates { get; private set; }

        public SmtpConfiguration SmtpConfiguration { get; private set; }

        public MailingConfiguration(bool notificationsEnabled, Dictionary<CommandExitStatus, string> mailSubjectTemplates,
            List<string> recipients, SmtpConfiguration smtpConfiguration)
        {
            NotificationsEnabled = notificationsEnabled;
            MailSubjectTemplates = mailSubjectTemplates;
            Recipients = recipients;
            SmtpConfiguration = smtpConfiguration;
        }
    }
}